#include <iostream>

extern "C"
{
    void calc_(float *x);
}

void calc_(float *x)
{
    std::cout << "x[0] = " << x[0] << std::endl;
    std::cout << "x[1] = " << x[1] << std::endl;
    std::cout << "x[2] = " << x[2] << std::endl;
    std::cout << "x[3] = " << x[3] << std::endl;
    std::cout << "x[4] = " << x[4] << std::endl;
    std::cout << "x[5] = " << x[5] << std::endl;
}
